﻿using SmartCity.ProcessEngine.Domain.Entities;

namespace SmartCity.ProcessEngine.Api.Read.Dtos
{
    public class MyInstanceDTO
    {
        /// <summary>
        /// 实例的id
        /// </summary>
        public long Id {  get; set; }
        /// <summary>
        /// 流程表单
        /// </summary>
        public string  FormCode {  get; set; }
        /// <summary>
        /// 流程实例状态
        /// </summary>
        public InstanceStatus Status { set; get; }
        /// <summary>
        /// 实例当前节点名称
        /// </summary>
        public string CurrentNodeName {  get; set; }
        /// <summary>
        /// 流程表单的名称
        /// </summary>
        public string FormName {  get; set; }
        /// <summary>
        /// 实例名称+当前节点名称
        /// </summary>
        public string ProcessName { get; set; }   
        /// <summary>
        /// 当前操作人
        /// </summary>
        public string CurrentOperatorName {  get; set; }
        /// <summary>
        /// 最后一条审批记录产生的时间(实例的更新时间)
        /// </summary>
        public DateTime? UpdateTime {  get; set; }

        /// <summary>
        /// 实例内容
        /// </summary>
        public string FormContent { get; set; }

    }
}
